<%--
Views should be stored under the WEB-INF folder so that
they are not accessible except through controller process.

This JSP is here to provide a redirect to the dispatcher
servlet but should be the only JSP outside of WEB-INF.
--%>
<%@page import="entity.structure.Device"%>
<%@page import="redis.manage.MRedisPool"%>
<%@page import="redis.manage.MRedis"%>
<%@page import="redis.manage.MRedis"%>
<%@page import="entity.structure.User"%>
<%@page import="redis.pipe.MPipe"%>
<%@page import="entity.support.Obj"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>example</head>
    <body>
    <%
         try
         {
             MPipe m=new MPipe();
             m.work("src/java/conf/redis/mpipe-conf.xml");
             MRedis a=MRedisPool.getMRedis();
             a.select(Device.class, "*");
             List<Obj> list=a.select(Device.class, "*");
             %><%=list %><%
         }
         catch(Exception e)
         {
             e.printStackTrace();
          }
     %>
    
        
    </body>
</html>
